<!DOCTYPE html>
<html lang="zh-CN">

<head>
    <meta charset="UTF-8">
    <title>02_字体族</title>
    <style>
        .atguigu1 {
            font-size: 100px;
            font-family: "微软雅黑";
        }

        .atguigu2 {
            font-size: 100px;
            font-family: "楷体";
        }

        .atguigu3 {
            font-size: 100px;
            font-family: "新宋体";
        }

        .atguigu4 {
            font-size: 100px;
            font-family: "等线";
        }
        /* 优先第一个，找不到再找其他 */
        .atguigu5 {
            font-size: 100px;
            font-family: "翩翩体-简","华文琥珀";
        }
        .atguigu6 {
            font-size: 100px;
            font-family: "Microsoft YaHei";
        }

        .atguigu7 {
            font-size: 100px;
            font-family: "HanziPen SC",sans-serif;
        }

        /* 规则：
        衬线字体：棱角分明
        非衬线字体：棱角不分明 */
    </style>

</head>

<body>
    <div class="atguigu1">尚硅谷1</div>
    <div class="atguigu2">尚硅谷2</div>
    <div class="atguigu3">尚硅谷3</div>
    <div class="atguigu4">尚硅谷4</div>
    <div class="atguigu5">尚硅谷4</div>
    <div class="atguigu6">尚硅谷4</div>
    <div class="atguigu7">尚硅谷7</div>
</body>

</html>